package com.snake.excel2java.excel.type;

public enum DropType {

	START(0),
	one(1),			// 一抽
	three(3),			// 三连抽
	ten(10),			// 十连抽
	END(11);

	private int value;
	private DropType(int value) { 
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public static DropType get(int value) {

		switch (value) {
		case 1:
			return one;
		case 3:
			return three;
		case 10:
			return ten;
		}

		return END;
	}
}